import {http} from '@/common/http.interceptor'

export const ulogin = (data) =>  http("home/ulogin", data, 'POST') // 用户登录

export const projlist = (data) =>  http("home/projList", data, 'POST') // 获取项目列表

export const projcount = (data) =>  http("home/deplistCount", data, 'GET') // 获取项目总数

export const burryPoint = (data) =>  http("users/burryPoint", data, 'POST') // 埋点

export const addproj = (data) =>  http("users/addproj", data, 'POST') // 发布项目

export const projdetail = (data) =>  http("users/projDetail", data, 'GET') // 项目详情

export const schoollist = (data) =>  http("home/school", data, 'GET') // 学校列表

export const deplist = (data) =>  http("home/deplist", data, 'GET') //学院列表

export const receResulist = (data) =>  http("users/receResulist", data, 'GET') //已收投递列表

export const deliverResulist = (data) =>  http("users/deliverResulist", data, 'GET') //投递列表

export const deleteDeliver = (data) =>  http("users/deleteDeliver", data, 'POST') //删除投递中心的信息

export const userinfo = (data) =>  http("users/getUserinfo", data, 'GET') //用户登录信息

export const contact = (data) =>  http("users/getContact", data, 'GET') //联系方式

export const myprojlist = (data) =>  http("users/myProjlist", data, 'GET') // 我的发布列表

export const collectproj = (data) =>  http("users/collcetProj", data, 'POST') // 收藏

export const collectStatus = (data) =>  http("users/collectStatus", data, 'POST') // 获取收藏状态

export const collectlist = (data) =>  http("users/collectList", data, 'GET') // 我的收藏列表

export const deleteproj = (data) =>  http("users/deleteproj", data, 'POST') // 删除发布

export const deletecollet = (data) =>  http("users/deletCollet", data, 'POST') // 删除收藏

export const updateResume = (data) =>  http("users/updateResume", data, 'POST') // 修改简历信息

export const sendresume = (data) =>  http("users/sendResume", data, 'POST') // 简历投递

export const sendstatus = (data) =>  http("users/sendReStatus", data, 'POST') // 简历投递

export const updateResustatus = (data) =>  http("users/updateResuStatus", data, 'POST') // 更新进度状态

export const resustatus = (data) =>  http("users/resuStatus", data, 'POST') // 查看进度状态

export const sendfeedback = (data) =>  http("users/sendFeedback", data, 'POST') // 查看进度状态

